package com.lzy.wzy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class HistoryExceptionVo {

    private int id;

    private String serialNumber;

    private String productNumber;

    private String productCode;

    private String reporter;

    private String accidentDetails;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reporterDate;

    private String status;

    private String treatmentPlan;

    private String closedLoopPeople;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime closedLoopPeopleDate;

    private String executor;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String executeTime;

    private String executeResult;

    private String confirmor;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String confirmorDate;
}
